package com.sunjob.mroresource;

import com.sunjob.common.exceptionHandler.GlobalExceptionHandler;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.context.annotation.Import;

@MapperScan("com.sunjob.mroresource.mapper")
@SpringBootApplication
@Import(GlobalExceptionHandler.class)
public class MroResourceApplication {

    public static void main(String[] args) {
        ConfigurableApplicationContext configurableApplicationContext = SpringApplication.run(MroResourceApplication.class, args);
        /*for (String beanDefinitionName : configurableApplicationContext.getBeanDefinitionNames()) {
            System.out.println(beanDefinitionName);
        }*/

    }

}
